package com.cc.wechat.common.constants;

/**
 * 聊天会话相关常量
 */
public class ChatConstants {

    private ChatConstants() {}// 不允许实例化
    /**
     * 会话类型
     */
    public static class SessionType {
        /**
         * 私聊会话
         */
        public static final int PRIVATE = 0;

        /**
         * 群聊会话
         */
        public static final int GROUP = 1;
    }

    /**
     * 会话状态
     */
    public static class SessionStatus {
        /**
         * 正常
         */
        public static final int NORMAL = 0;

        /**
         * 已删除
         */
        public static final int DELETED = 1;
    }

    /**
     * 置顶状态
     */
    public static class TopStatus {
        /**
         * 未置顶
         */
        public static final int NOT_TOP = 0;

        /**
         * 已置顶
         */
        public static final int TOP = 1;
    }

    /**
     * 会话相关消息
     */
    public static class Message {
        public static final String SESSION_NOT_FOUND = "会话不存在";
        public static final String CREATE_SUCCESS = "创建会话成功";
        public static final String GET_LIST_SUCCESS = "获取会话列表成功";
        public static final String GET_SUCCESS = "获取会话成功";
        public static final String UPDATE_SUCCESS = "更新会话成功";
        public static final String DELETE_SUCCESS = "删除会话成功";
        public static final String SET_TOP_SUCCESS = "设置置顶状态成功";
        public static final String CLEAR_UNREAD_SUCCESS = "清空未读消息成功";
    }
} 